package com.muyu.system.service;

import com.muyu.common.core.domain.Result;
import com.muyu.system.domain.DanmoShoppingProductsCollection;

import java.util.List;

/**
 * 商品收藏Service接口
 *
 * @author yangle
 * @date 2024-10-09
 */
public interface IDanmoShoppingProductsCollectionService
{
    /**
     * 查询商品收藏
     *
     * @param id 商品收藏主键
     * @return 商品收藏
     */
    public DanmoShoppingProductsCollection selectDanmoShoppingProductsCollectionById(Long id);

    /**
     * 查询商品收藏列表
     *
     * @param danmoShoppingProductsCollection 商品收藏
     * @return 商品收藏集合
     */
    public List<DanmoShoppingProductsCollection> selectDanmoShoppingProductsCollectionList(DanmoShoppingProductsCollection danmoShoppingProductsCollection);

    /**
     * 新增商品收藏
     *
     * @param danmoShoppingProductsCollection 商品收藏
     * @return 结果
     */
    public int insertDanmoShoppingProductsCollection(DanmoShoppingProductsCollection danmoShoppingProductsCollection);

    /**
     * 修改商品收藏
     *
     * @param danmoShoppingProductsCollection 商品收藏
     * @return 结果
     */
    public int updateDanmoShoppingProductsCollection(DanmoShoppingProductsCollection danmoShoppingProductsCollection);

    /**
     * 批量删除商品收藏
     *
     * @param ids 需要删除的商品收藏主键集合
     * @return 结果
     */
    public Result<Integer> deleteDanmoShoppingProductsCollectionByIds(Long[] ids);

    /**
     * 删除商品收藏信息
     *
     * @param id 商品收藏主键
     * @return 结果
     */
    public int deleteDanmoShoppingProductsCollectionById(Long id);

    DanmoShoppingProductsCollection selectDanmoShoppingProductsCollectionLists(DanmoShoppingProductsCollection danmoShoppingProductsCollection);

    void addCollection(DanmoShoppingProductsCollection danmoShoppingProductsCollection);

    List<DanmoShoppingProductsCollection> selectDmGoodsLists(DanmoShoppingProductsCollection danmoShoppingProductsCollection);

    Result<Integer> deleteDanmoById(DanmoShoppingProductsCollection danmoShoppingProductsCollection);

}
